#define _CRT_SECURE_NO_WARNINGS
#include"Sort.h"

void TestMergeSort()
{
	int a[] = { 10,2,4,1,7,8,3,9,2 };
	MergeSort(a, sizeof(a) / sizeof(int));
	PrintArray(a, sizeof(a) / sizeof(int));
}

void TestMergeSortNonR()
{
	int a[] = { 10,2,4,1,7,8,3,9,2 };
	MergeSortNonR(a, sizeof(a) / sizeof(int));
	PrintArray(a, sizeof(a) / sizeof(int));
}

void TestCountSort()
{
	int a[] = { 10,2,4,1,7,8,3,9,2 };
	CountSort(a, sizeof(a) / sizeof(int));
	PrintArray(a, sizeof(a) / sizeof(int));
}

int main()
{
	//TestMergeSort();
	//TestMergeSortNonR();
	TestCountSort();
	return 0;
}